package edu.sctu.practice.class02.yangshengyu.text01.test08;

/**
 * Created by Cullen on 2015/10/15.
 */
public class Vehicles {

    public String brand;
    public String color;

    public void run(){
        System.out.println("我已经开动了！");
    }

    public Vehicles(String brand,String color){
        this.brand=brand;
        this.color=color;
    }


    public void showInfo(){
        System.out.println("商标是："+this.brand+"  颜色为："+this.color);

    }
}
